@import "../../css/bass.css";
@import "//at.alicdn.com/t/font_2628658_s6fs94mydkr.css";


.nav-bar {
  min-width: 1205px;
  height: 140px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;

  padding-top: 30px;

  .content {
    //background-color: tomato;
    height: 100%;
    display: flex;
    flex-direction: column;

    .top {
      //background-color: darkcyan;
      flex: 1;
      display: flex;

      > .left {
        flex: 1;

        h1 {
          width: 193px;
          height: 65px;
          //background-color: cyan;
          a {
            width: 100%;
            height: 100%;
            display: block;
            //background-color: pink;
            //text-indent: -9999px;
            font-size: 0;
            background-image: url(../../components/image/img.png);
            background-size: contain;
            background-repeat: no-repeat;
          }
        }
      }

      > .center {

        flex: 2;
        display: flex;
        justify-content: flex-end;

        .search-bar {
          width: 400px;
          height: 40px;
          //background-color: cyan;
          //margin: 0 auto;
          border: 1px solid #999;
          border-radius: 20px;
          box-sizing: border-box;

          display: flex;

          .category {
            background-color: deeppink;
            flex: 1;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
            overflow: hidden;

            label {
              select {
                width: 100%;
                height: 100%;
                border: none;
                padding-left: 10px;
                font-size: 15px;
                color: #666;
                outline: none;
              }
            }
          }

          .keyword {
            background-color: pink;
            flex: 4;

            input {
              width: 100%;
              height: 100%;
              box-sizing: border-box;
              border: none;
              outline: none;
              padding-left: 10px;
            }
          }

          .search-btn {
            background-color: cyan;
            flex: 1;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
            overflow: hidden;

            input {
              width: 100%;
              height: 100%;
              border: none;
              outline: none;
              background-color: green;

              color: #fff;
              font-size: 14px;
            }
          }

        }

      }

      //>.right {
      //  background-color: greenyellow;
      //  flex: 1;
      //}
    }

    .bottom {
      height: 40px;
      display: flex;

      .left {
        flex: 1;
        //background-color: cyan;
        .menu-bar {
          width: 100%;
          height: 100%;
          //background-color: darkcyan;
          display: flex;

          li {
            //background-color: grey;
            //border: 1px solid red;
            padding: 0 20px;
            line-height: 30px;
            font-size: 18px;
            position: relative;

            a {
              color: #333;
              text-decoration: none;
            }

            &.active,
            &:hover {
              a {
                color: red;
              }

              //border-bottom: 5px solid red;
              &::after {
                content: "";
                display: block;
                width: 50%;
                height: 5px;
                background-color: red;
                //margin: 0 auto;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
              }
            }
          }
        }
      }

      .right {
        flex: 1;
        //background-color: purple;
        ul {
          height: 100%;
          display: flex;
          justify-content: flex-end;

          li {
            //background-color: cyan;
            padding: 0 20px;
            line-height: 40px;
            font-size: 16px;
            color: #666;
            position: relative;

            &:hover {
              .detail-pane {
                display: block;
              }
            }

            .detail-pane {
              width: 240px;
              height: 220px;
              background-color: #fff;
              position: absolute;
              padding-top: 10px;
              top: 50px;
              left: 50%;
              transform: translateX(-50%);
              border-radius: 10px;
              box-shadow: -1px 2px 5px 5px #ccc;
              display: none;
              text-align: center;

              .title {
                line-height: 26px;
                font-size: 14px;
                color: #333;
              }

              .intro {
                line-height: 24px;
                font-size: 12px;
                color: #666;
              }

              .qr_code {
                margin-top: 10px;
                width: 145px;
                height: 145px;
              }

              &::after {
                content: "";
                border: 10px solid transparent;
                border-bottom-color: #fff;
                position: absolute;
                top: -20px;
                left: 50%;
                transform: translateX(-50%);
                //box-shadow: -1px 2px 5px 5px #ccc;
              }
            }
          }
        }
      }
    }
  }
}

.course-introduction {
  height: 300px;
  //background-color: blue;

  .content {
    padding: 20px;
    box-sizing: border-box;
    width: 1200px;
    height: 100%;
    //background-color: cyan;
    display: flex;
    flex-direction: row;

    > .left {
      width: 440px;
      //height: 264px;
      //background-color: red;
      //padding: 20px;
      box-sizing: border-box;

      img {
        width: 100%;
        height: 100%;
      }
    }

    > .right {
      margin-left: 20px;
      flex: 1;
      //background-color: red;
      display: flex;
      flex-direction: column;

      .top {
        //width: 696px;
        //height: 185px;
        flex: 1;
        //background-color: yellow;
        //padding-left: 30px;


        .one {
          height: 30px;
          //background-color: lavender;
          color: #000000A6;
          font-size: 20px;
        }

        .two {
          height: 40px;
          //background-color: greenyellow;
          color: #888888;
          font-size: 12px;
        }

        .three {
          height: 22px;
          //background-color: magenta;
          color: #888888;
          font-size: 12px;
        }
      }

      .bottom {
        height: 40px;
        //background-color: palegreen;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .left {
          width: 120px;
          height: 40px;
          color: #666;
          text-align: center;
          line-height: 40px;
          border: 1px solid red;
          border-radius: 5px;
          font-size: 14px;
          //background-color: yellow;
          &:hover {
            background-color: red;
            color: #fff;
          }
        }

        .right {
          //background-color: darkblue;

          &:hover {
            color: red;
          }
        }
      }

    }


  }
}

.box {
  height: 1493px;
  //background-color: blue;

  .content {
    width: 1200px;
    height: 100%;
    //background-color:#000000A6;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;

    .left {
      width: 808px;
      box-sizing: border-box;
      //background-color: yellow;

      .top1 {
        height: 581px;
        //background-color: magenta;

        .title1 {
          padding: 15px 0 15px 20px;

          >span {
            font-size: 16px;
            color: #000000A6;

            &:hover {
              color: red;
            }
          }
        }

        .video {
          font-size: 12px;
          color: #000000A6;
          padding: 5px 0 0 20px;
        }

      }

      .center1 {
        height: 495px;
        //background-color: lawngreen;
        .title2{
          padding: 15px 0 0 20px;
          >span{
            font-size: 16px;
            color: #000000A6;

            &:hover {
              color: red;
            }
          }
        }
      }

      .bottom1 {
        height: 345px;
        //background-color: tomato;
        .title3{
          padding: 15px 0 0 20px;
          >span{
            font-size: 16px;
            color: #000000A6;

            &:hover {
              color: red;
            }
          }
        }
      }

    }

    .right {
      width: 404px;
      flex: 1;
      //background-color: cyan;

      .top2 {
        height: 192px;
        //background-color: orange;
        padding: 15px 0 0 20px;
        >span{
          font-size: 14px;
        }
        >p{
          font-size: 12px;
          color: #000000A6;
        }
      }

      .center2 {
        height: 448px;
        //background-color: yellow;
      }

      .bottom2 {
        height: 470px;
        //background-color: fuchsia;
      }
    }

  }
}

.subscript {
  height: 200px;
  margin-top: 15px;

  .content {
    height: 90%;
    background-color: white;
    display: flex;

    .item {
      flex: 1;
      position: relative;

      &:not(:first-child) {
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      &:not(:last-child):after {
        content: "";
        width: 1px;
        height: 80%;
        background-color: darkgray;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
      }

      .logo {
        width: 275px;
        height: 55px;
        opacity: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        margin-top: 40PX;
        margin-left: 50px;
      }
    }

    .title {
      display: block;
      color: #333333;
      text-decoration: none;
      margin-left: 15px;
      font-size: 18px;
      margin-top: 10px;
    }

    .subtitle {
      font-size: 18px;
      display: block;
      color: #333333;
      text-decoration: none;
      margin-left: 15px;
    }

    .ewm {
      width: 130px;
      height: 130px;
      opacity: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      margin-top: 20PX;
      margin-left: 80px;

    }

    p {
      font-size: 15px;
      margin-left: 90px;
      color: #333333;
    }
  }

  .mask {
    width: 100px;
    height: 100px;
    right: 20px;
    bottom: 20px;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;

    //display: none;
    opacity: 0;
    transition: all 500ms linear;

    &.show {
      //display: block;
      opacity: 1;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
    }

    .pane {
      width: 300px;
      height: 300px;
      background-color: white;
      margin: 150px auto;
      padding: 15px;
      position: relative;

      img {
        width: 100%;
        height: 100%;
      }

      .close {
        width: 20px;
        height: 20px;
        font-size: 26px;
        position: absolute;
        color: #fff;
        top: 0;
        right: 0;
      }
    }
  }
}
